package com.yhkj.data.datasource;

import com.zaxxer.hikari.HikariDataSource;
import lombok.Data;

/**
 * @author <a href="mailto:idler41@163.con">linfuxin</a> created on 2023-03-27 14:48:50
 */
@Data
public class HikariDataSourceHolder {

    private HikariDataSource dataSource;

    private long accessTime;

    public HikariDataSourceHolder() {
    }

    public HikariDataSourceHolder(HikariDataSource dataSource) {
        this.dataSource = dataSource;
    }
}
